Packetery\Module\Upgrade S

Total Complexity 45
Dependencies 24
Dependents 1
Total lines 467
Lines of code 252
Logical lines of code 131
Comment lines 118
Methods 13
Properties 9

Methods 13

Method Rating Maintainability Complexity Lines of code
check()
B
35 20 90
migrateWpOrderMetadata()
S
39 4 74
getValidatedAddressIdByOrderId()
S
58 2 16
getMetaAsNullableString()
S
73 3 4
getMetaAsNullableFloat()
S
73 3 4
createCustomsDeclarationTables()
S
67 3 8
createLogTable()
S
67 2 8
createCarrierTable()
S
73 2 5
createOrderTable()
S
73 2 5
createAddressFromPostId()
S
61 1 12
__construct()
S
63 1 11
runCreateTables()
S
73 1 6
flashAndLog()
S
64 1 9